package SST.LIB;

/** 
 Log ��ժҪ˵����
*/
public class Log
{
	public Log()
	{
		//
		// TODO: �ڴ˴���ӹ��캯���߼�
		//
	}


	public static void Add(String errMsg)
	{
		 MOLE.SQLOS o = new MOLE.SQLOS("log");
		o.RS("logcontent", errMsg);
		o.Insert();
	}

	public static DataTable GetList()
	{
		 String s = "select * from log order by logid desc";
		DataTable dt = MOLE.SQL.GetDataTable(s);
		return dt;
	}



}